﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@model sipfe.model.dataAccess.SIPMaeSolicitud
@using Resources;
@{
    Layout = "~/Views/Shared/Layaout/general/_LayoutGeneralSin.cshtml";             
}
<script type="text/javascript">
    $(function () {
        inicioPopPupModal("#divPopupAdjuntoJQ", 250, 700, "LISTADO DE ARCHIVOS ADJUNTOS");
        var rpta = '@ViewBag.rpta';
        //alert(rpta);
        if (rpta !== '1') {
            $("#btnFiltrar").click();
        }
    });
</script>
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.reporteJS)" ></script>
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.fileJS)" ></script> 
<div id="divPopupAdjuntoJQ"></div>
<center> 
    <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0" class="tablaInterna">
    <tbody class="tituloWhite8" >
        <tr><td align="right">TRAZABILIDAD DEL TRAMITE</td></tr>
        <tr style="background-color: #ffffff;">
            <td>
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tbody class="tituloCelesteB8">
                    <tr>
                        <td align="center">
                            <table cellpadding="0" cellspacing="0" border="0">
                            <tbody class="tituloCelesteB8">
                                <tr align="center">
                                    <td>Clase</td><td>&nbsp;</td><td>Área</td><td>&nbsp;</td><td>Año</td><td>&nbsp;</td><td>Correlativo</td>
                                </tr>
                                <tr align="center">                                    
                                    <td>@Html.DropDownList("nIdeClaseSolicitud", (IEnumerable<SelectListItem>)ViewBag.ClaseTramite)</td>                                    
                                    <td>:</td>
                                    <td><input type="text" name="nIdeDepSolicitud" id="nIdeDepSolicitud" style="width: 40px;" value=""    maxlength="4" onkeypress = "return validarSoloNumeros(event);" ondblclick = "javascript:limpiaCaja(this);"/></td>
                                    <td>-</td>
                                    <td><input type="text" name="nAnnSolicitud" id="nAnnSolicitud" style="width: 30px;" value="@String.Format("{0:yyyy}", DateTime.Now)" maxlength="4" onkeypress = "return validarSoloNumeros(event);" ondblclick = "javascript:limpiaCaja(this);"/></td>
                                    <td>-</td>
                                    <td align="left"><input type="text" name="nNumCorre" id="nNumCorre" style="width: 40px;" maxlength="4" value="" onkeypress = "return validarSoloNumeros(event);" ondblclick="javascript:limpiaCaja(this);" /></td>
                                    <td>&nbsp;</td>
                                    <td><input type="button" name="btnBuscar" id="btnBuscar" style="width: 50px;" class="boton" value="Buscar" onclick="javascript: buscarTrazabilidad('#divDetTrazabilidad');" /></td>
                                </tr>
                            </tbody>
                            </table>
                        </td>
                   </tr>
                </tbody>
                </table>
           </td>
         </tr>
    </tbody>
    </table>
    <div id="divDetTrazabilidad"></div> 
</center>